pp108 : inline Property

inline Property


String that specifies whether the property sheet is opened as a separate application or inside the same application.

Syntax

HTML

<div cordysType =  "wcp.library.util.PropertySheetLibrary"  id=propertysheetID inline=sValue >
...
</div>

Scripting

propertysheetID.inline [ =sValue ]


Parameters

Parameter

Description

sValue

String that indicates whether the property sheet is opened as a separate application or inside the same application.true- Property sheet is opened inside the same application.false- Default. Property sheet is opened in a separate application.


Remarks


If the inline property is set to "true", then the component expects an XML Object defined in the page by namepropertySchema. The XML may contain the schema for the object to which properties need to be shown.

Following is a sample declaration of the propertypropertySchemain the HTML page.

XML

<script type="cordys/xml" id="propertySchema">
    <formula annotation="A collection of one or more expressions.> 
       <description type="string" path="description" annotation="The description of the formula."/> 
       <type type="string" path="type" annotation="The actual name of the formula"/> 
    </formula>
</script>



The ID of the XML that is defined above is "propertySchema". Once this is defined, the property sheet can be set in the page as follows. This should be inside the BODY tag of the HTML page:

HTML

<div cordysType="wcp.library.util.PropertySheetLibrary" id="propSheet" inline="true">
...
</div>


See Also


propertysheet